package org.akomantoso.core.data.type;

/**
 * This is the list of allowed values for the status attribute.
 * 
 * <pre>
 * 	<xsd:simpleType name="statusType">
 * 		<xsd:restriction base="xsd:string">
 * 			<xsd:enumeration value="omissis"/>
 * 			<xsd:enumeration value="repealed"/>
 * 			<xsd:enumeration value="suspended"/>
 * 			<xsd:enumeration value="editorial"/>
 * 			<xsd:enumeration value="ignore"/>
 * 			<xsd:enumeration value="translated"/>
 * 			<xsd:enumeration value="edited"/>
 * 			<xsd:enumeration value="verbatim"/>
 * 		</xsd:restriction>
 * 	</xsd:simpleType>
 * </pre>
 * 
 * @author <a href="mailto:jacques.militello@gmail.com">Jacques Militello</a>
 * 
 * @since http://www.akomantoso.org/1.0
 */
public enum StatusType {

	omissis, repealed, suspended, editorial, ignore, translated, edited, verbatim;

	public static StatusType checkValueOf(String name) {

		if (name == null) {
			return null;	
		}
		
		return valueOf(name);
	}
	
}